package TeatCase;

import android.support.test.runner.AndroidJUnit4;
import android.util.Log;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

import QunarTest.QuanrTestCase;

import static HomeElements.Action.*;
import static HomeElements.AssertElementsContent.*;
import static org.junit.Assert.*;
/**
 * Created by zhe.xiao on 2017/6/27.
 */


public class TestReMenZhuan extends QuanrTestCase{
    /**
     * 测试专题更多跳转
     */
    @Test
    public void testReMenZhuanMore(){
        clickReMenMuMore();
        boolean t = reMenMoreDes();
        Log.v("UIAUTOMATOR", "testReMenZhuanMore: " + t);
        assertTrue(t);
    }

    /**
     * 测试热门专题第一个跳转
     */
    @Test
    public void testRenMenZhuan1(){
        clickReMenZhuan1();
        boolean t = reMenZhuanTagDes();
        Log.v("UIAUTOMATOR", "testRenMenZhuan1: " + t);
        assertTrue(t);
    }

    /**
     * 测试热门专题第个跳转
     */
    @Test
    public void testRenMenZhuan2(){
        clickReMenZhuan2();
        boolean t = reMenZhuanTagDes();
        Log.v("UIAUTOMATOR", "testRenMenZhuan2: " + t);
        assertTrue(t);
    }

    /**
     * 测试热门专题第三个跳转
     */
    @Test
    public void testRenMenZhuan3(){
        clickReMenZhuan3();
        boolean t = reMenZhuanTagDes();
        Log.v("UIAUTOMATOR", "testRenMenZhuan3: " + t);
        assertTrue(t);
    }

}
